<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        p {
            color: red;
            /*指明字体，会按照字体存在的顺序查找*/
            font-family: Helvetica, Arial, sans-serif;
            font-size: 2rem;
            font-style: italic;
            font-weight: bold;
            text-decoration: underline;
            text-shadow: 4px 4px 5px purple;
            text-align: center;
            /*行间距 要么都从头算 要么都从尾算*/
            line-height: 1.5;
        }

    </style>
</head>
<body>
    <p>这是一个p标签</p>
</body>
</html>